From e581bcfdff993eefd673b0723df8c51d3ae458c5 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Thu, 17 Mar 2005 15:47:26 +0000 Subject: [PATCH] MSVC 6 doesn't know about stdint.h git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1084 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gbtypes.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gpsbabel/gbtypes.h b/gpsbabel/gbtypes.h index b8d5b771a..1532ed26b 100644 --- a/gpsbabel/gbtypes.h +++ b/gpsbabel/gbtypes.h @@ -25,6 +25,14 @@ * include a gross collection of __STDC_VERSION >= 199901L || __GNUC__ */ +#if defined(_MSC_VER) && (_MSC_VER == 1200) + +typedef unsigned long gbuint32; +typedef unsigned short gbuint16; +typedef long gbint32; +typedef short gbint16; + +#else #include @@ -32,3 +40,6 @@ typedef uint32_t gbuint32; typedef uint16_t gbuint16; typedef int32_t gbint32; typedef int16_t gbint16; + +#endif // defined(_MSC_VER) && (_MSC_VER == 1200) + -- 2.30.2